package datastructure.queue;

/**
 * DESCRIPTION:
 * Author: ammar
 * Date:   2021/12/15
 * Time:   下午1:55
 */
public class Test {
    public static void main(String[] args) {
        Queue<Integer> queue = new Queue<>();
        queue.enQueue(11);
        queue.enQueue(22);
        queue.enQueue(33);
        queue.enQueue(44);

        while (!queue.isEmpty()) {
            System.out.println(queue.deQueue());
        }
    }
}
